<?php

namespace Work\Controller;
use Think\Server;

//加载GatewayClient
require_once './vendor/workerman/GatewayClient/Gateway.php';
use GatewayClient\Gateway;

header('content-type:text/html;charset=utf-8');
class WorkController extends Server {

    protected $socket = 'text://0.0.0.0:1234';

    /**
     * @desc 定时器
     * @author Egor<http://gitee.com/seosite>
     */
    public function onWorkerStart(){

    }
}
?>